import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import StartPage from './components/StartPage';
import GamePage from './components/GamePage';
import ResultPage from './components/ResultPage';
import { GameProvider } from './gameState';
var App = function () {
    return (_jsx(GameProvider, { children: _jsx(Router, { children: _jsxs(Routes, { children: [_jsx(Route, { path: "/", element: _jsx(StartPage, {}) }), _jsx(Route, { path: "/game", element: _jsx(GamePage, {}) }), _jsx(Route, { path: "/result", element: _jsx(ResultPage, {}) })] }) }) }));
};
export default App;
